import Vue from 'vue'
import VueRouter from 'vue-router'
import Register from '../register.vue'
import List from '../list.vue'

Vue.use(VueRouter);

const routes = [
    { path: '/register', name: 'Register', component: Register },
    { path: '/list', name: 'List', component: List }
];

const router = new VueRouter({
    routes
});

export default router;
